<?php

namespace App\Http\Resources\Customer;

use Illuminate\Http\Resources\Json\ResourceCollection;

class SendDepartCollection extends ResourceCollection
{    public static $wrap=null;
    /**
     * Transform the resource collection into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
          'code'=>200,
          'res'=>$this->collection
        ];
    }
}
